object fmPaymentVoucher: TfmPaymentVoucher
  Left = 0
  Top = 0
  Caption = 'Payment Voucher'
  ClientHeight = 437
  ClientWidth = 910
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Visible = True
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  DesignSize = (
    910
    437)
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 2
    Top = 2
    Width = 84
    Height = 13
    Caption = 'Payment Voucher'
  end
  object Label2: TLabel
    Left = 489
    Top = 2
    Width = 32
    Height = 13
    Caption = 'Details'
  end
  object DBGrid1: TDBGrid
    Left = 0
    Top = 17
    Width = 481
    Height = 137
    DataSource = dsPVMaster
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    OnCellClick = DBGrid1CellClick
    Columns = <
      item
        Expanded = False
        FieldName = 'PV_NO'
        Title.Caption = 'PV No.'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'AMOUNT'
        Title.Caption = 'Amount'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Width = 67
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'PAY_FOR'
        Title.Caption = 'Pay For'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Width = 114
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'DETAILS'
        Title.Caption = 'Details'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Width = 193
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'REMARK'
        Title.Caption = 'Remark'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Visible = True
      end>
  end
  object PageControl1: TPageControl
    Left = 0
    Top = 160
    Width = 910
    Height = 225
    ActivePage = TabSheet3
    TabOrder = 1
    object TabSheet1: TTabSheet
      Caption = 'Salary'
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      DesignSize = (
        902
        197)
      object Label5: TLabel
        Left = 6
        Top = 3
        Width = 22
        Height = 13
        Anchors = [akTop, akRight]
        Caption = '&Year'
      end
      object Label6: TLabel
        Left = 105
        Top = 3
        Width = 30
        Height = 13
        Anchors = [akTop, akRight]
        Caption = '&Month'
      end
      object Label4: TLabel
        Left = 296
        Top = 3
        Width = 32
        Height = 13
        Caption = 'Details'
      end
      object DBGrid2: TDBGrid
        Left = 0
        Top = 24
        Width = 902
        Height = 173
        Align = alBottom
        DataSource = dsSalary
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
        ReadOnly = True
        TabOrder = 6
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
        OnCellClick = DBGrid2CellClick
        Columns = <
          item
            Expanded = False
            FieldName = 'NAME'
            Title.Caption = 'Name'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Width = 150
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'YEAR'
            Title.Caption = 'Year'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Width = 35
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MONTH'
            Title.Caption = 'Month'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Width = 40
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NET_PAY'
            Title.Caption = 'Salary'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Width = 50
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REMARK'
            Title.Caption = 'Remark'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Width = 196
            Visible = True
          end>
      end
      object txtYear: TEdit
        Left = 34
        Top = 0
        Width = 41
        Height = 21
        Anchors = [akTop, akRight]
        MaxLength = 4
        NumbersOnly = True
        TabOrder = 0
        Text = '2010'
      end
      object udYear: TUpDown
        Left = 75
        Top = 0
        Width = 16
        Height = 21
        Anchors = [akTop, akRight]
        Associate = txtYear
        Min = 2010
        Max = 2050
        Position = 2010
        TabOrder = 1
        Thousands = False
      end
      object txtMonth: TEdit
        Left = 141
        Top = 0
        Width = 30
        Height = 21
        Anchors = [akTop, akRight]
        NumbersOnly = True
        TabOrder = 2
        Text = '1'
      end
      object udMonth: TUpDown
        Left = 171
        Top = 0
        Width = 16
        Height = 21
        Anchors = [akTop, akRight]
        Associate = txtMonth
        Min = 1
        Max = 12
        Position = 1
        TabOrder = 3
        Thousands = False
      end
      object cbFilter: TCheckBox
        Left = 193
        Top = 1
        Width = 60
        Height = 19
        Anchors = [akTop, akRight]
        Caption = 'Filtered'
        TabOrder = 4
        OnClick = cbFilterClick
      end
      object txtSalaryDetails: TEdit
        Left = 334
        Top = 0
        Width = 395
        Height = 21
        MaxLength = 255
        TabOrder = 5
        Text = 'Salary of'
      end
    end
    object TabSheet2: TTabSheet
      Caption = 'Job Sheet'
      ImageIndex = 1
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object lblName: TLabel
        Left = 3
        Top = 7
        Width = 27
        Height = 13
        Caption = '&Name'
        FocusControl = dbcbName
      end
      object Label3: TLabel
        Left = 211
        Top = 7
        Width = 32
        Height = 13
        Caption = '&Details'
        FocusControl = txtDetails
      end
      object Label11: TLabel
        Left = 3
        Top = 33
        Width = 36
        Height = 13
        Caption = '&Remark'
        FocusControl = txtRemark
      end
      object DBGrid3: TDBGrid
        Left = 0
        Top = 57
        Width = 902
        Height = 140
        Align = alBottom
        DataSource = dsJobsheet
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgMultiSelect, dgTitleClick, dgTitleHotTrack]
        TabOrder = 3
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
        OnCellClick = DBGrid3CellClick
        Columns = <
          item
            Expanded = False
            FieldName = 'INVOICE_NO'
            Title.Caption = 'Invoice No.'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'JOBSHEET_NO'
            Title.Caption = 'Jobsheet No.'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'INVOICE_DATE'
            Title.Caption = 'Invoice Date'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'COMPANY_NAME'
            Title.Caption = 'Company Name'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Width = 178
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DATE_OF_SHOOT'
            Title.Caption = 'Date of Shoot'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'TOTAL_AMOUNT'
            Title.Caption = 'Total Amount'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REMARK'
            Title.Caption = 'Remark'
            Title.Font.Charset = DEFAULT_CHARSET
            Title.Font.Color = clWindowText
            Title.Font.Height = -11
            Title.Font.Name = 'Tahoma'
            Title.Font.Style = [fsBold]
            Visible = True
          end>
      end
      object dbcbName: TDBLookupComboBox
        Left = 46
        Top = 3
        Width = 145
        Height = 21
        KeyField = 'ID'
        ListField = 'NAME'
        ListSource = DataModule1.dsEmployee
        TabOrder = 0
        OnCloseUp = dbcbNameCloseUp
        OnDropDown = dbcbNameDropDown
      end
      object txtDetails: TEdit
        Left = 254
        Top = 3
        Width = 645
        Height = 21
        MaxLength = 255
        TabOrder = 1
      end
      object txtRemark: TEdit
        Left = 46
        Top = 30
        Width = 853
        Height = 21
        MaxLength = 255
        TabOrder = 2
      end
    end
    object TabSheet3: TTabSheet
      Caption = 'Open PV'
      ImageIndex = 2
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object Label7: TLabel
        Left = 3
        Top = 6
        Width = 27
        Height = 13
        Caption = '&Name'
        FocusControl = txtOpenName
      end
      object Label8: TLabel
        Left = 3
        Top = 60
        Width = 32
        Height = 13
        Caption = '&Details'
        FocusControl = txtOpenDetails
      end
      object Label9: TLabel
        Left = 3
        Top = 87
        Width = 36
        Height = 13
        Caption = '&Remark'
        FocusControl = txtOpenRemark
      end
      object Label10: TLabel
        Left = 3
        Top = 33
        Width = 37
        Height = 13
        Caption = '&Amount'
        FocusControl = txtOpenAmount
      end
      object txtOpenDetails: TEdit
        Left = 46
        Top = 57
        Width = 853
        Height = 21
        MaxLength = 255
        TabOrder = 2
      end
      object txtOpenName: TEdit
        Left = 46
        Top = 3
        Width = 416
        Height = 21
        MaxLength = 255
        TabOrder = 0
      end
      object txtOpenRemark: TEdit
        Left = 46
        Top = 84
        Width = 853
        Height = 21
        MaxLength = 255
        TabOrder = 3
      end
      object txtOpenAmount: TEdit
        Left = 46
        Top = 30
        Width = 75
        Height = 21
        MaxLength = 255
        TabOrder = 1
        OnExit = txtOpenAmountExit
        OnKeyPress = txtOpenAmountKeyPress
      end
    end
  end
  object btnPostToPV: TButton
    Left = 827
    Top = 391
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = 'Post &to PV'
    TabOrder = 2
    OnClick = btnPostToPVClick
  end
  object DBGrid4: TDBGrid
    Left = 487
    Top = 17
    Width = 423
    Height = 137
    DataSource = dsPVDetails
    TabOrder = 3
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'INVOICE_NO'
        Title.Caption = 'Invoice No.'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'JOBSHEET_NO'
        Title.Caption = 'Jobsheet No.'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'INVOICE_DATE'
        Title.Caption = 'Invoice Date'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'TOTAL_AMOUNT'
        Title.Caption = 'Amount'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'DATE_OF_SHOOT'
        Title.Caption = 'Date of Shoot'
        Title.Font.Charset = DEFAULT_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Tahoma'
        Title.Font.Style = [fsBold]
        Width = 99
        Visible = True
      end>
  end
  object btnPreview: TButton
    Left = 640
    Top = 391
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = '&Preview'
    TabOrder = 4
    OnClick = btnPreviewClick
  end
  object frxReport1: TfrxReport
    Version = '4.15.10'
    DotMatrixReport = False
    IniFile = '\Software\Fast Reports'
    PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
    PreviewOptions.Zoom = 1.000000000000000000
    PrintOptions.Printer = 'Default'
    PrintOptions.PrintOnSheet = 0
    ReportOptions.CreateDate = 41426.669965196800000000
    ReportOptions.LastChange = 41428.666071145830000000
    ScriptLanguage = 'PascalScript'
    ScriptText.Strings = (
      'begin'
      ''
      'end.')
    OnUserFunction = frxReport1UserFunction
    Left = 649
    Top = 248
    Datasets = <
      item
        DataSet = frxDBConfig
        DataSetName = 'frxDBConfig'
      end
      item
        DataSet = frxDBPVReport
        DataSetName = 'frxDBPVReport'
      end>
    Variables = <>
    Style = <>
    object Data: TfrxDataPage
      Height = 1000.000000000000000000
      Width = 1000.000000000000000000
    end
    object Page1: TfrxReportPage
      PaperWidth = 210.000000000000000000
      PaperHeight = 297.000000000000000000
      PaperSize = 9
      LeftMargin = 10.000000000000000000
      RightMargin = 10.000000000000000000
      TopMargin = 10.000000000000000000
      BottomMargin = 10.000000000000000000
      object MasterData1: TfrxMasterData
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        Height = 1031.811690000000000000
        ParentFont = False
        Top = 18.897650000000000000
        Width = 718.110700000000000000
        AllowSplit = True
        DataSet = frxDBConfig
        DataSetName = 'frxDBConfig'
        RowCount = 0
        StartNewPage = True
        object Memo3: TfrxMemoView
          Left = 544.252320000000100000
          Top = 3.779530000000001000
          Width = 170.078850000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8W = (
            '[frxDBPVReport."PV_NO"]')
          ParentFont = False
        end
        object Memo14: TfrxMemoView
          Left = 3.779530000000000000
          Top = 26.456710000000000000
          Width = 347.716760000000000000
          Height = 98.267718980000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          Memo.UTF8W = (
            
              '[StrReplace(Uppercase(<frxDBConfig."ADDRESS">), '#39', '#39', Chr(13) + ' +
              'Chr(10)) + '
            
              'iif(<frxDBConfig."ADDRESS2"> <> '#39#39', StrReplace(Chr(13) + Chr(10)' +
              ' + Uppercase(<frxDBConfig."ADDRESS2">), '#39', '#39', Chr(13) + Chr(10))' +
              ', '#39#39') + '
            
              'iif((<frxDBConfig."POSTCODE"> + <frxDBConfig."CITY">) <> '#39#39', Chr' +
              '(13) + Chr(10) + Uppercase(<frxDBConfig."POSTCODE"> + '#39' '#39' + <frx' +
              'DBConfig."CITY"> + '#39', '#39'), '#39#39') + '
            
              'iif(<frxDBConfig."STATE"> <> '#39#39', Chr(13) + Chr(10) + Uppercase(<' +
              'frxDBConfig."STATE">) + '#39', '#39', '#39#39') +'
            
              'iif(<frxDBConfig."COUNTRY"> <> '#39#39', Uppercase(<frxDBConfig."COUNT' +
              'RY">), '#39#39') + '
            
              'iif(<frxDBConfig."TEL"> <> '#39#39', Chr(13) + Chr(10) + '#39'TEL: '#39' + <fr' +
              'xDBConfig."TEL">, '#39#39') + '
            
              'iif(<frxDBConfig."FAX"> <> '#39#39', Chr(13) + Chr(10) + '#39'FAX: '#39' + <fr' +
              'xDBConfig."FAX">, '#39#39') + '
            
              'iif(<frxDBConfig."EMAIL"> <> '#39#39', Chr(13) + Chr(10) + '#39'EMAIL: '#39' +' +
              ' LowerCase(<frxDBConfig."EMAIL">), '#39#39')]')
          ParentFont = False
        end
        object Memo15: TfrxMemoView
          ShiftMode = smWhenOverlapped
          Left = 3.779530000000000000
          Width = 245.669291340000000000
          Height = 22.677180000000000000
          ShowHint = False
          AutoWidth = True
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = [fsBold]
          Memo.UTF8W = (
            '[Uppercase(<frxDBConfig."COMPANY_NAME">)]')
          ParentFont = False
          WordWrap = False
        end
        object Memo16: TfrxMemoView
          ShiftMode = smWhenOverlapped
          Left = 249.448980000000000000
          Top = 7.559059999999999000
          Width = 120.944960000000000000
          Height = 15.118120000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8W = (
            '['#39'('#39' + <frxDBConfig."REGISTER_NO"> + '#39')'#39']')
          ParentFont = False
          WordWrap = False
        end
        object Memo1: TfrxMemoView
          Left = 495.118430000000000000
          Top = 3.779530000000001000
          Width = 49.133890000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8W = (
            'No.:')
          ParentFont = False
        end
        object Memo2: TfrxMemoView
          Top = 143.622140000000000000
          Width = 453.543600000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Color = clBlack
          Font.Charset = ANSI_CHARSET
          Font.Color = clWhite
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8W = (
            ' PAYMENT VOUCHER')
          ParentFont = False
        end
        object Memo4: TfrxMemoView
          Left = 453.543600000000000000
          Top = 143.622140000000000000
          Width = 94.488250000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Color = clSilver
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            'DATE')
          ParentFont = False
        end
        object Memo5: TfrxMemoView
          Left = 548.031849999999900000
          Top = 143.622140000000000000
          Width = 170.078850000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Color = clWhite
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            '[Date]')
          ParentFont = False
        end
        object frxDBPVMasterPAY_FOR: TfrxMemoView
          Left = 120.944960000000000000
          Top = 173.858380000000000000
          Width = 593.386210000000000000
          Height = 37.795300000000000000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."PAY_FOR"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo6: TfrxMemoView
          Top = 173.858380000000000000
          Width = 117.165430000000000000
          Height = 37.795300000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haRight
          Memo.UTF8W = (
            'PAY'
            '(NAME)')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo7: TfrxMemoView
          Top = 228.551330000000000000
          Width = 117.165430000000000000
          Height = 34.015770000000010000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haRight
          Memo.UTF8W = (
            'AMOUNT')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo8: TfrxMemoView
          Top = 272.126160000000000000
          Width = 117.165430000000000000
          Height = 34.015770000000010000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haRight
          Memo.UTF8W = (
            'PARTICULARS')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo9: TfrxMemoView
          Left = 120.944960000000000000
          Top = 228.551330000000000000
          Width = 593.386210000000000000
          Height = 34.015770000000010000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."AMOUNT_WORDS"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object frxDBPVMasterDETAILS: TfrxMemoView
          Left = 120.944960000000000000
          Top = 272.126160000000000000
          Width = 593.386210000000000000
          Height = 34.015770000000010000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."DETAILS"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object frxDBPVMasterREMARK: TfrxMemoView
          Left = 120.944960000000000000
          Top = 313.700990000000000000
          Width = 593.386210000000000000
          Height = 34.015770000000010000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."REMARK"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo10: TfrxMemoView
          Left = 120.944960000000000000
          Top = 359.055350000000000000
          Width = 151.181200000000000000
          Height = 37.795300000000000000
          ShowHint = False
          Color = clSilver
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            'RM')
          ParentFont = False
          VAlign = vaCenter
        end
        object frxDBPVMasterAMOUNT: TfrxMemoView
          Left = 120.944960000000000000
          Top = 396.850650000000000000
          Width = 151.181200000000000000
          Height = 64.252010000000000000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          DisplayFormat.FormatStr = '%2.2n'
          DisplayFormat.Kind = fkNumeric
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBPVReport."AMOUNT"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo11: TfrxMemoView
          Left = 283.685220000000000000
          Top = 359.055350000000000000
          Width = 207.874150000000000000
          Height = 102.047310000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8W = (
            '  APPROVED BY:'
            ''
            ''
            ''
            '  DATE:')
          ParentFont = False
        end
        object Memo12: TfrxMemoView
          Left = 506.457020000000000000
          Top = 359.055350000000000000
          Width = 207.874015750000000000
          Height = 102.047310000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8W = (
            '  RECEIVED BY:'
            ''
            ''
            '  NAME:'
            '  DATE:')
          ParentFont = False
        end
        object Memo13: TfrxMemoView
          Left = 544.252320000000100000
          Top = 548.031849999999900000
          Width = 170.078850000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8W = (
            '[frxDBPVReport."PV_NO"]')
          ParentFont = False
        end
        object Memo17: TfrxMemoView
          Left = 3.779530000000000000
          Top = 570.709030000000000000
          Width = 347.716760000000000000
          Height = 98.267718980000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          Memo.UTF8W = (
            
              '[StrReplace(Uppercase(<frxDBConfig."ADDRESS">), '#39', '#39', Chr(13) + ' +
              'Chr(10)) + '
            
              'iif(<frxDBConfig."ADDRESS2"> <> '#39#39', StrReplace(Chr(13) + Chr(10)' +
              ' + Uppercase(<frxDBConfig."ADDRESS2">), '#39', '#39', Chr(13) + Chr(10))' +
              ', '#39#39') + '
            
              'iif((<frxDBConfig."POSTCODE"> + <frxDBConfig."CITY">) <> '#39#39', Chr' +
              '(13) + Chr(10) + Uppercase(<frxDBConfig."POSTCODE"> + '#39' '#39' + <frx' +
              'DBConfig."CITY"> + '#39', '#39'), '#39#39') + '
            
              'iif(<frxDBConfig."STATE"> <> '#39#39', Chr(13) + Chr(10) + Uppercase(<' +
              'frxDBConfig."STATE">) + '#39', '#39', '#39#39') +'
            
              'iif(<frxDBConfig."COUNTRY"> <> '#39#39', Uppercase(<frxDBConfig."COUNT' +
              'RY">), '#39#39') + '
            
              'iif(<frxDBConfig."TEL"> <> '#39#39', Chr(13) + Chr(10) + '#39'TEL: '#39' + <fr' +
              'xDBConfig."TEL">, '#39#39') + '
            
              'iif(<frxDBConfig."FAX"> <> '#39#39', Chr(13) + Chr(10) + '#39'FAX: '#39' + <fr' +
              'xDBConfig."FAX">, '#39#39') + '
            
              'iif(<frxDBConfig."EMAIL"> <> '#39#39', Chr(13) + Chr(10) + '#39'EMAIL: '#39' +' +
              ' LowerCase(<frxDBConfig."EMAIL">), '#39#39')]')
          ParentFont = False
        end
        object Memo18: TfrxMemoView
          ShiftMode = smWhenOverlapped
          Left = 3.779530000000000000
          Top = 544.252320000000100000
          Width = 245.669291340000000000
          Height = 22.677180000000000000
          ShowHint = False
          AutoWidth = True
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = [fsBold]
          Memo.UTF8W = (
            '[Uppercase(<frxDBConfig."COMPANY_NAME">)]')
          ParentFont = False
          WordWrap = False
        end
        object Memo19: TfrxMemoView
          ShiftMode = smWhenOverlapped
          Left = 249.448980000000000000
          Top = 551.811380000000000000
          Width = 120.944960000000000000
          Height = 15.118120000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8W = (
            '['#39'('#39' + <frxDBConfig."REGISTER_NO"> + '#39')'#39']')
          ParentFont = False
          WordWrap = False
        end
        object Memo20: TfrxMemoView
          Left = 495.118430000000000000
          Top = 548.031849999999900000
          Width = 49.133890000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8W = (
            'No.:')
          ParentFont = False
        end
        object Memo21: TfrxMemoView
          Top = 687.874460000000000000
          Width = 453.543600000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Color = clBlack
          Font.Charset = ANSI_CHARSET
          Font.Color = clWhite
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8W = (
            ' PAYMENT VOUCHER')
          ParentFont = False
        end
        object Memo22: TfrxMemoView
          Left = 453.543600000000000000
          Top = 687.874460000000000000
          Width = 94.488250000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Color = clSilver
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            'DATE')
          ParentFont = False
        end
        object Memo23: TfrxMemoView
          Left = 548.031849999999900000
          Top = 687.874460000000000000
          Width = 170.078850000000000000
          Height = 26.456710000000000000
          ShowHint = False
          Color = clWhite
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial Black'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            '[Date]')
          ParentFont = False
        end
        object Memo24: TfrxMemoView
          Left = 120.944960000000000000
          Top = 718.110700000000000000
          Width = 593.386210000000000000
          Height = 37.795300000000000000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."PAY_FOR"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo25: TfrxMemoView
          Top = 718.110700000000000000
          Width = 117.165430000000000000
          Height = 37.795300000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haRight
          Memo.UTF8W = (
            'PAY'
            '(NAME)')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo26: TfrxMemoView
          Top = 772.803650000000000000
          Width = 117.165430000000000000
          Height = 34.015770000000010000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haRight
          Memo.UTF8W = (
            'AMOUNT')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo27: TfrxMemoView
          Top = 816.378480000000000000
          Width = 117.165430000000000000
          Height = 34.015770000000010000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          HAlign = haRight
          Memo.UTF8W = (
            'PARTICULARS')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo28: TfrxMemoView
          Left = 120.944960000000000000
          Top = 772.803650000000000000
          Width = 593.386210000000000000
          Height = 34.015770000000010000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."AMOUNT_WORDS"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo29: TfrxMemoView
          Left = 120.944960000000000000
          Top = 816.378480000000000000
          Width = 593.386210000000000000
          Height = 34.015770000000010000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."DETAILS"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo30: TfrxMemoView
          Left = 120.944960000000000000
          Top = 857.953310000000000000
          Width = 593.386210000000000000
          Height = 34.015770000000010000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftBottom]
          Memo.UTF8W = (
            '[frxDBPVReport."REMARK"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo31: TfrxMemoView
          Left = 120.944960000000000000
          Top = 903.307670000000000000
          Width = 151.181200000000000000
          Height = 37.795300000000000000
          ShowHint = False
          Color = clSilver
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            'RM')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo32: TfrxMemoView
          Left = 120.944960000000000000
          Top = 941.102970000000000000
          Width = 151.181200000000000000
          Height = 64.252010000000000000
          ShowHint = False
          DataSetName = 'frxDBPVMaster'
          DisplayFormat.FormatStr = '%2.2n'
          DisplayFormat.Kind = fkNumeric
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -19
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8W = (
            '[frxDBPVReport."AMOUNT"]')
          ParentFont = False
          VAlign = vaCenter
        end
        object Memo33: TfrxMemoView
          Left = 283.685220000000000000
          Top = 903.307670000000000000
          Width = 207.874150000000000000
          Height = 102.047310000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8W = (
            '  APPROVED BY:'
            ''
            ''
            ''
            '  DATE:')
          ParentFont = False
        end
        object Memo34: TfrxMemoView
          Left = 506.457020000000000000
          Top = 903.307670000000000000
          Width = 207.874015750000000000
          Height = 102.047310000000000000
          ShowHint = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8W = (
            '  RECEIVED BY:'
            ''
            ''
            '  NAME:'
            '  DATE:')
          ParentFont = False
        end
        object Line1: TfrxLineView
          Left = 7.559060000000000000
          Top = 510.236549999999900000
          Width = 702.992580000000000000
          ShowHint = False
          Frame.Typ = [ftTop]
        end
      end
    end
  end
  object dsJobsheet: TDataSource
    DataSet = qryJobsheet
    Left = 688
    Top = 120
  end
  object qryJobsheet: TIBQuery
    Database = DataModule1.IBDatabase1
    Transaction = DataModule1.IBTransaction1
    BufferChunks = 1000
    CachedUpdates = False
    ParamCheck = True
    SQL.Strings = (
      'Select'
      '  INVOICE.ID,'
      '  INVOICE.INVOICE_NO,'
      '  INVOICE.INVOICE_DATE,'
      '  CUSTOMERS.COMPANY_NAME,'
      '  INVOICE.DATE_OF_SHOOT,'
      '  INVOICE.TOTAL_AMOUNT,'
      '  INVOICE.JOBSHEET_NO,'
      '  INVOICE.REMARK,'
      '  INVOICE.PHOTOGRAPHER1_ID,'
      '  PV_DETAILS.DETAILS_ID'
      'From'
      '  INVOICE Inner Join'
      
        '  CUSTOMERS On INVOICE.CUSTOMER_ID = CUSTOMERS.ID Left Outer Joi' +
        'n'
      '  PV_DETAILS On PV_DETAILS.DETAILS_ID = INVOICE.ID'
      'Where'
      '  PV_DETAILS.ID Is Null')
    Left = 688
    Top = 64
  end
  object qrySalary: TIBQuery
    Database = DataModule1.IBDatabase1
    Transaction = DataModule1.IBTransaction1
    BufferChunks = 1000
    CachedUpdates = False
    ParamCheck = True
    SQL.Strings = (
      'Select'
      '  EMPLOYEE.ID,'
      '  EMPLOYEE.NAME,'
      '  PAY_SALARY."YEAR",'
      '  PAY_SALARY."MONTH",'
      '  PAY_SALARY.NET_PAY,'
      '  PAY_SALARY.REMARK,'
      '  PAY_SALARY.ID As PAY_SALARY_ID'
      'From'
      '  PAY_SALARY Inner Join'
      '  EMPLOYEE On PAY_SALARY.EMPLOYEE_ID = EMPLOYEE.ID')
    Left = 632
    Top = 64
  end
  object qryPVMaster: TIBQuery
    Database = DataModule1.IBDatabase1
    Transaction = DataModule1.IBTransaction1
    BufferChunks = 1000
    CachedUpdates = False
    ParamCheck = True
    SQL.Strings = (
      'Select'
      '  ID,'
      '  PV_NO,'
      '  PAY_FOR,'
      '  AMOUNT,'
      '  AMOUNT_WORDS,'
      '  DETAILS,'
      '  REMARK,'
      '  EMPLOYEE_ID'
      'From'
      '  PAYMENT_VOUCHER')
    Left = 760
    Top = 64
  end
  object dsPVMaster: TDataSource
    DataSet = qryPVMaster
    Left = 760
    Top = 120
  end
  object dsSalary: TDataSource
    DataSet = qrySalary
    Left = 624
    Top = 120
  end
  object dsPVDetails: TDataSource
    DataSet = qryPVDetails
    Left = 840
    Top = 120
  end
  object qrySQL: TIBQuery
    Database = DataModule1.IBDatabase1
    Transaction = DataModule1.IBTransaction1
    BufferChunks = 1000
    CachedUpdates = False
    ParamCheck = True
    Left = 848
    Top = 184
  end
  object qryPVDetails: TIBQuery
    Database = DataModule1.IBDatabase1
    Transaction = DataModule1.IBTransaction1
    BufferChunks = 1000
    CachedUpdates = False
    ParamCheck = True
    SQL.Strings = (
      
        'Select * From PV_DETAILS Inner Join INVOICE On PV_DETAILS.DETAIL' +
        'S_ID = INVOICE.ID')
    Left = 840
    Top = 64
  end
  object frxDBConfig: TfrxDBDataset
    UserName = 'frxDBConfig'
    CloseDataSource = False
    DataSet = DataModule1.fbConfig
    BCDToCurrency = False
    Left = 800
    Top = 248
  end
  object frxDBPVReport: TfrxDBDataset
    UserName = 'frxDBPVReport'
    CloseDataSource = False
    DataSet = qryPVReport
    BCDToCurrency = False
    Left = 728
    Top = 296
  end
  object frxPDFExport1: TfrxPDFExport
    UseFileCache = True
    ShowProgress = True
    OverwritePrompt = False
    DataOnly = False
    PrintOptimized = False
    Outline = False
    Background = False
    HTMLTags = True
    Quality = 95
    Author = 'FastReport'
    Subject = 'FastReport PDF export'
    ProtectionFlags = [ePrint, eModify, eCopy, eAnnot]
    HideToolbar = False
    HideMenubar = False
    HideWindowUI = False
    FitWindow = False
    CenterWindow = False
    PrintScaling = False
    Left = 648
    Top = 296
  end
  object qryPVReport: TIBQuery
    Database = DataModule1.IBDatabase1
    Transaction = DataModule1.IBTransaction1
    BufferChunks = 1000
    CachedUpdates = False
    ParamCheck = True
    SQL.Strings = (
      'Select'
      '  PAYMENT_VOUCHER.PV_NO,'
      '  PAYMENT_VOUCHER.PAY_FOR,'
      '  PAYMENT_VOUCHER.DETAILS,'
      '  PAYMENT_VOUCHER.REMARK,'
      '  PAYMENT_VOUCHER.AMOUNT,'
      '  PAYMENT_VOUCHER.AMOUNT_WORDS'
      'From'
      '  PAYMENT_VOUCHER')
    Left = 728
    Top = 248
  end
end
